package com.zhxx.book.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Description:
 * @Author Alex
 * @Date 2022-11-14 10:31
 */
@Data
@TableName("book_course")
public class BookCourse {
   @TableId(type = IdType.ASSIGN_ID)
   private Long id;

   private Long userId;

   @TableField(exist = false)
   private String userName;

   private Long courseId;

   @TableField(exist = false)
   private String courseName;
}
